﻿<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>User</title>
<script>
function jump(){
	window.location = "/thinkphp/index.php/User/add";
}
</script>
</head>
<body>
<table border='1' width="500" align='center'>
<tr align='center'>
<td>id</td>
<td>username</td>
<td>sex</td>
<td>操作</td>
</tr>
<volist name='data' id='vo'>
<tr align='center'>
<td>{$vo.id}</td>
<td>{$vo.username}</td>
<td>{$vo.sex}</td>
<td><a href="/thinkphp/index.php/User/del/id/{$vo.id}">删除</a> | <a href="/thinkphp/index.php/User/modify/id/{$vo.id}">修改</a></td>
</tr>
</volist>
</table>
<center>
<button onclick="jump()">添加用户</button>
</center>
</body>
</html>